package com.example.jinzproduct.controller.feign;

import com.example.commons.entity.HonorUserDO;
import com.example.jinzproduct.server.HonorUserService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @author mengzhichao
 * @create 2022-08-29-16:15
 */
@RestController
@RequestMapping("/jinZhiIndex/HonorUserFeignController")
public class HonorUserFeignController {

    @Autowired
    HonorUserService honorUserService;

    @GetMapping("/findOneByKv")
    public HonorUserDO findOneByKv(Object... params) {
        return honorUserService.findOneByKv(params);
    }

}
